﻿namespace B.S.DataBase.MyRead.API.DTOs
{
    public class MenuDTOs
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public int UserId { get; set; }
        public int MenuId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }
        /// <summary>
        /// 点击菜单跳转地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 父级id   顶级菜单是0
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 删除标识 false 未删  true 已删
        /// </summary>
        public bool IsDeleted { get; set; }
        /// <summary>
        /// 排序字段 编号
        /// </summary>
        public int? OrderNum { get; set; }

        /// <summary>
        /// 父级名称   顶级菜单是0
        /// </summary>
        public string ParentName { get; set; }

        public int RoleMenuId { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId { get; set; }
    }
}
